const serverHost = process.env.NODE_ENV === 'development' ? 'localhost' : '81.71.148.91'
const serverPort = 7000

const api = {
    bqz: {
        trends: `http://${ serverHost }:${ serverPort }/bqz/trends`,
        hot: `http://${ serverHost }:${ serverPort }/bqz/hot`,
        new: `http://${ serverHost }:${ serverPort }/bqz/new`,
        collect: `http://${ serverHost }:${ serverPort }/bqz/collect`,
        search: `http://${ serverHost }:${ serverPort }/bqz/search`
    }
}

export default api